#ifndef __SD__
#define __SD__

#include <stdio.h>
#include <stdlib.h>

#ifdef __cplusplus
extern "C"
{
#endif

#if 0
#define MAX_BUFFER 128 /*缓冲区大小*/
    /*缓冲区结构体*/
    typedef struct
    {
        uint16_t head;
        uint16_t tail;
        uint16_t length;
        uint8_t ringBuffer[MAX_BUFFER];
    } Type_RingBuffer_Uchar;

    /*读写缓冲区函数声明*/
    void Ringbuf_wirte_float(float data, Type_RingBuffer_float *pRingBuffer);
    uint8_t Ringbuf_read_float(float *pdata, Type_RingBuffer_float *pRingBuffer);
#elif 0

#endif

#endif